SftTree/NET 2.0

ShowSelection Property, RowHeadersClass Class

Softel vdm, Inc.

Defines whether row headers reflect the item selection (ItemClass.Selected).

Syntax      RowHeadersClass Class (Softelvdm.SftTreeNET)

VB   

Public Property ShowSelection As Boolean

C#   

public bool ShowSelection { get; set; }

C++   

public: property bool ShowSelection {
        bool get();
        void set(bool value);
}

Property Value

True if row headers reflect the item selection, otherwise False.

The default value is True.

Comments

The ShowSelection property defines whether row headers reflect the item selection (ItemClass.Selected).

ShowSelection is only available if the SelectionStyle property allows item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems) or if the row header is in the header area or footer area. It has no effect for cells in the item area when cell selection is used (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells).

When an item is selected, the corresponding row header is rendered in a pressed state. The visual style can be defined using the RowHeaders.AppearanceDefault property.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com